package org.lw.server.controller;

import io.swagger.annotations.Api;
import org.lw.server.common.RespBean;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * 测试controller
 *
 * @author looveh
 * @since 2022/1/22 15:37
 **/
@RestController
@Api(value = "测试controller")
public class HelloController {

    @GetMapping("/hello")
    public RespBean hello() {
        return RespBean.success("hello");
    }
}
